package com.fancon.book.dayconlamgiau;

import android.app.Dialog;
import android.content.Context;
import android.view.View;
import android.view.Window;
import android.widget.Button;

public class BeginDialog extends Dialog implements android.view.View.OnClickListener{
	private Button grossaryBtn;
	private Button gotoReadingBtn;
	private Button gotoBookMarkBtn;
	public BeginDialog(Context context) {
		//super(context, android.R.style.Theme_Translucent_NoTitleBar);
		super(context, R.style.DialogSlideAnim);
		requestWindowFeature(Window.FEATURE_NO_TITLE);
		setContentView(R.layout.begin_dialog);
		//getWindow().getAttributes().windowAnimations = R.style.DialogSlideAnim;
		gotoBookMarkBtn = (Button) findViewById(R.id.bookmark);
		gotoBookMarkBtn.setOnClickListener(this);
	}

	@Override
	public void onClick(View v) {
		// TODO Auto-generated method stub
		if( v == grossaryBtn){
			
		}else if(v == gotoReadingBtn){
			
		}else if(v == gotoBookMarkBtn){
			dismiss();
		}
	}
}
